home *** CD-ROM | disk | FTP | other *** search
/ ...taking it to the Macs! / ...taking it to the Macs!.iso / Extras / ActiveX Mac SDK / ActiveX SDK / Container Common / initstrm.h < prev    next >
Text File  |  1997-01-03  |  590b  |  27 lines

  1. //
  2. //  INITSTRM.H
  3. //
  4. //  Copyright (C) Microsoft Corporation, 1996
  5. //
  6.  
  7. class CXSite;                           //  Forward reference
  8.  
  9. class CInitialDataStreamNotify:
  10.     public CMemoryOleStreamNotify
  11. {
  12. public:
  13.     //  Back pointer to the site that's waiting for it's initial data stream.
  14.     CXSite *m_pSite;
  15.  
  16.     inline CInitialDataStreamNotify(CXSite *pSite);
  17.     
  18.     //jjo this wasn't defined so I made it inline
  19.     virtual NPError OnDestroyStream(NPStream *stream, NPError reason);
  20. };
  21.  
  22. inline
  23. CInitialDataStreamNotify::CInitialDataStreamNotify(CXSite *pSite)
  24. {
  25.     m_pSite = pSite;
  26. }
  27.